// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import * as http from '@/common/api.js'
import request from '@/common/request.js'
/* uView2.0配置 */
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
/* 配置完成 */

Vue.config.productionTip = false
Vue.prototype.$http = http
Vue.prototype.$url = request.url


App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
  createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
